import Vue from "vue";
import App from "./App";
import uView from "uview-ui";
import widget from "./service/api/widget";
import theme from "./theme";
import { getUserLocation, getLocation } from "./utils/location";
Vue.config.productionTip = false;
Vue.prototype.$widget = widget;
Vue.prototype.$theme = theme;

App.mpType = "app";
Vue.prototype.$getUserLocation = getUserLocation; //定位信息;
Vue.prototype.$getCurrentLocation = getLocation; //定位信息
Vue.use(uView);
const app = new Vue({
  ...App,
});
app.$mount();
